package mysql

import "gorm.io/gorm"

type InCure struct {
	gorm.Model
	UserId   int `gorm:"type:int(10);not null;comment:'用户Id'"`
	ScenicId int `gorm:"type:int(10);not null;comment:'景点ID '"`
	OrderId  int `gorm:"type:int(10);not null;comment:'订单Id '"`
}

func (i *InCure) Create(cure *InCure) error {
	return DB.Debug().Create(&cure).Error
}
